<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>用户信息编辑</title>
    <link rel="stylesheet" th:href="@{/css/plugins/layui/css/layui.css}" >
</head>
<body>
    <div th:object="${role}"  >
        <!--        <input type="hidden" id="id" name="id" value="${user.id}">-->
        <input type="hidden" id="roleId" th:field="*{roleId}">

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">角色名称</label>
                <div class="layui-input-inline layui-input-wrap">
                    <input type="text" id="roleName"  th:field="*{roleName}" class="layui-input">
                </div>
            </div>
        </div>

    </div>
<script th:src="@{/js/jquery.min.js}"></script></body>
</html>
